home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.teleport.com!sschaem
- From: sschaem@teleport.com (Stephan Schaem)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Fastest way to clear a Window?
- Date: 10 Feb 1996 14:41:10 GMT
- Organization: Teleport - Portland's Public Access (503) 220-1016
- Message-ID: <4fiaq6$ejm@maureen.teleport.com>
- References: <4fck5b$7mm@leofric.coventry.ac.uk>
- NNTP-Posting-Host: julie.teleport.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dave Jackson (dj@coventry.ac.uk) wrote:
- : I'm writing a 3d graphics viewer thingy using intuition windows. What I
- : want to know is, what is the fastest way of clearing a window? At the
- : moment I'm using SetRast() but there must be a faster way. I'm using a
- : custom screen, so I could make it draw lines on a single bitplane and
- : then just clear that one plane, but the RKM:Libraries has nothing on how
- : to clear one plane... help!
-
- You probably want to write to fastmem and copy/clear your buffer to chip.
- Try to see something related to write mask... you can mask out bitplane
- when doing gfx operation.
-
- All this supose you are writting for the amiga chipset and not some
- of the current gfx cards.
-
- Stephan
-